package com.pretty.test.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pretty.test.controller.pets.baike.dto.BaikePageDTO;
import com.pretty.test.controller.pets.baike.vo.BaikeDashboardSimpleListVO;
import com.pretty.test.controller.pets.baike.vo.BaikeDashboardVO;
import com.pretty.test.controller.pets.baike.vo.BaikePageVO;
import com.pretty.test.entity.PetsBaike;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 宠物百科服务类
 * @author dujianyu
 * @since 2021-04-06
 */
public interface IPetsBaikeService extends IService<PetsBaike> {

    IPage<BaikePageVO> selectBaikePage(Page<BaikePageVO> page, BaikePageDTO dto);

    List<BaikeDashboardVO> dashboardList();

    List<BaikeDashboardSimpleListVO> dashboardSimpleList(BaikePageDTO dto);
}
